﻿namespace Xms.Abp.Components;

public class NYesNoColumn : Column<bool?>
{
    public NYesNoColumn()
    {
        ChildContent = builder =>
        {
            builder.AddContent(0, Field.HasValue && Field.Value ? "是" : Field.HasValue ? "否" : "-");
        };
    }
}
